<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SA-PCB: util::Rect Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SA-PCB
   </div>
   <div id="projectbrief">Annealing-basedPCBplacementtool</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>util</b></li><li class="navelem"><a class="el" href="classutil_1_1_rect.html">Rect</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classutil_1_1_rect-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">util::Rect Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7f716b330134bcc048257f2e746d69ed"><td class="memItemLeft" align="right" valign="top"><a id="a7f716b330134bcc048257f2e746d69ed"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Rect</b> (double left=0, double bottom=0, double right=0, double top=0)</td></tr>
<tr class="separator:a7f716b330134bcc048257f2e746d69ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a058d6f9dbd86cd1f8282475fe2f69c3d"><td class="memItemLeft" align="right" valign="top"><a id="a058d6f9dbd86cd1f8282475fe2f69c3d"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>left</b> () const</td></tr>
<tr class="separator:a058d6f9dbd86cd1f8282475fe2f69c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac274afcb33f9e6f065d6520f95ca22fe"><td class="memItemLeft" align="right" valign="top"><a id="ac274afcb33f9e6f065d6520f95ca22fe"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>bottom</b> () const</td></tr>
<tr class="separator:ac274afcb33f9e6f065d6520f95ca22fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8220d535d7b0d8ea4a5ff60b6806b662"><td class="memItemLeft" align="right" valign="top"><a id="a8220d535d7b0d8ea4a5ff60b6806b662"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>right</b> () const</td></tr>
<tr class="separator:a8220d535d7b0d8ea4a5ff60b6806b662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba7ec82318965e6bf09b1a7b6c772a3e"><td class="memItemLeft" align="right" valign="top"><a id="aba7ec82318965e6bf09b1a7b6c772a3e"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>top</b> () const</td></tr>
<tr class="separator:aba7ec82318965e6bf09b1a7b6c772a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af765dbd986eb02cd8dc0761b85d89707"><td class="memItemLeft" align="right" valign="top"><a id="af765dbd986eb02cd8dc0761b85d89707"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>width</b> () const</td></tr>
<tr class="separator:af765dbd986eb02cd8dc0761b85d89707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5bd0290249da9bd75da4dc96741047b"><td class="memItemLeft" align="right" valign="top"><a id="ad5bd0290249da9bd75da4dc96741047b"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>height</b> () const</td></tr>
<tr class="separator:ad5bd0290249da9bd75da4dc96741047b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3460d6d30c3696cc1edb251b673f1aa9"><td class="memItemLeft" align="right" valign="top"><a id="a3460d6d30c3696cc1edb251b673f1aa9"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>centerX</b> () const</td></tr>
<tr class="separator:a3460d6d30c3696cc1edb251b673f1aa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcdb70a2462928b3b6ff45b092686489"><td class="memItemLeft" align="right" valign="top"><a id="afcdb70a2462928b3b6ff45b092686489"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>centerY</b> () const</td></tr>
<tr class="separator:afcdb70a2462928b3b6ff45b092686489"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a3449bee8e7ea517138ab5822e4b71"><td class="memItemLeft" align="right" valign="top"><a id="a11a3449bee8e7ea517138ab5822e4b71"></a>
<a class="el" href="classutil_1_1_rect.html">Rect</a>&#160;</td><td class="memItemRight" valign="bottom"><b>scale</b> (double s) const</td></tr>
<tr class="separator:a11a3449bee8e7ea517138ab5822e4b71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0608169785bcc4409e2aad274ceb3992"><td class="memItemLeft" align="right" valign="top"><a id="a0608169785bcc4409e2aad274ceb3992"></a>
<a class="el" href="classutil_1_1_rect.html">Rect</a>&#160;</td><td class="memItemRight" valign="bottom"><b>shift</b> (double x, double y) const</td></tr>
<tr class="separator:a0608169785bcc4409e2aad274ceb3992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b577680e0cc052a1e3c528b5f08d732"><td class="memItemLeft" align="right" valign="top"><a id="a0b577680e0cc052a1e3c528b5f08d732"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBounds</b> (const double &amp;left, const double &amp;bottom, const double &amp;right, const double &amp;top)</td></tr>
<tr class="separator:a0b577680e0cc052a1e3c528b5f08d732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22cd8229b0e88b8214be096397353be7"><td class="memItemLeft" align="right" valign="top"><a id="a22cd8229b0e88b8214be096397353be7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTop</b> (const double &amp;top)</td></tr>
<tr class="separator:a22cd8229b0e88b8214be096397353be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79f4df9615c772befdbf314d02a46b75"><td class="memItemLeft" align="right" valign="top"><a id="a79f4df9615c772befdbf314d02a46b75"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBottom</b> (const double &amp;bottom)</td></tr>
<tr class="separator:a79f4df9615c772befdbf314d02a46b75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a60a3fb7e54d8afaa148be4dd83609c"><td class="memItemLeft" align="right" valign="top"><a id="a5a60a3fb7e54d8afaa148be4dd83609c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setRight</b> (const double &amp;right)</td></tr>
<tr class="separator:a5a60a3fb7e54d8afaa148be4dd83609c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2476d3e8d2a0e5d61fa54f6bca8c2075"><td class="memItemLeft" align="right" valign="top"><a id="a2476d3e8d2a0e5d61fa54f6bca8c2075"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setLeft</b> (const double &amp;left)</td></tr>
<tr class="separator:a2476d3e8d2a0e5d61fa54f6bca8c2075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00536ba7701f2f6c6aef2c9c8a06e42"><td class="memItemLeft" align="right" valign="top"><a id="ad00536ba7701f2f6c6aef2c9c8a06e42"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>boundPosition</b> (double &amp;x, double &amp;y)</td></tr>
<tr class="separator:ad00536ba7701f2f6c6aef2c9c8a06e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae474d755f18d88f9822494abb2d6f0a9"><td class="memItemLeft" align="right" valign="top"><a id="ae474d755f18d88f9822494abb2d6f0a9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;rect)</td></tr>
<tr class="separator:ae474d755f18d88f9822494abb2d6f0a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a50ebd12257f77d2b02970bde7697347c"><td class="memItemLeft" align="right" valign="top"><a id="a50ebd12257f77d2b02970bde7697347c"></a>
static double&#160;</td><td class="memItemRight" valign="bottom"><b>overlapArea</b> (const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;rect1, const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;rect2)</td></tr>
<tr class="separator:a50ebd12257f77d2b02970bde7697347c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a9322d2b17ec4d2f1293e2cbefb6ff59d"><td class="memItemLeft" align="right" valign="top"><a id="a9322d2b17ec4d2f1293e2cbefb6ff59d"></a>
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (ostream &amp;, const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;)</td></tr>
<tr class="separator:a9322d2b17ec4d2f1293e2cbefb6ff59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf42e9d83ce89fcf653c07b59286571f"><td class="memItemLeft" align="right" valign="top"><a id="abf42e9d83ce89fcf653c07b59286571f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;, const <a class="el" href="classutil_1_1_rect.html">Rect</a> &amp;)</td></tr>
<tr class="separator:abf42e9d83ce89fcf653c07b59286571f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="src_2util_8h_source.html">util.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
